package com.ruoyi.project.cropmanage.mapper;

import com.ruoyi.project.cropmanage.entity.CropMap;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * huzhonghua
 * 种植作物地图-数据层
 * 2020/2/10
 * 12:23
 */
@Component
@Mapper
public interface CropmapMapper {
    public List<CropMap> selectCropmapList(CropMap cropMap);
    public List<CropMap> selectCropmapAll();
    public CropMap selectCropmapById(Long cropMapid);
    public int deleteCropmapById(Long[] ids);
    public int updateCropmap(CropMap cropMap);
    public int insertCropmap(CropMap cropMap);

    List<Map<String, Object>> crop_map_getAll(Map<String,Object> map);
}
